﻿//----------------------------------------------------------------------------------------------------
// The Visual Game handler holds the active game contents
//----------------------------------------------------------------------------------------------------

package HG.Visual
{
	import flash.display.*;
	import flash.events.*;
	
	import HG.GameService;
	
	public class GameContainer extends MovieClip
	{
		public function GameContainer() 
		{
			stop();
			loaderInfo.addEventListener(Event.INIT, onInit);
		}
  
		public function onInit(e:Event)
		{
			GameService.GetInstance().GetVisualManager().RegisterGameArea(this);
		}
	}
}